#include <maya/MStatus.h>
#include <stdio.h>

#define MAYA_FAIL(c) (c != MStatus::kSuccess )
#define MAYA_SUCCESS(c) (c == MStatus::kSuccess )
#define MAYA_STRINGSTRING(str) (MString("\"") + MString(str) + MString("\""))
#define MAYA_RETURN_IF_FAIL(c, rvalue) if(c != MStatus::kSuccess) return rvalue;
#define MAYA_CONTINUE_IF_FAIL(c) if(c != MStatus::kSuccess) continue;

#define MAYA_PRINT_VERBOSE true
#define MAYA_PRINT(stream) { if(MAYA_PRINT_VERBOSE) { cout<<stream<<endl;}}
